Integrand size = 17, antiderivative size = 38 \[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=\frac {\sqrt {c x^2}}{b}-\frac {a \sqrt {c x^2} \log (a+b x)}{b^2 x} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {15, 45} \[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=\frac {\sqrt {c x^2}}{b}-\frac {a \sqrt {c x^2} \log (a+b x)}{b^2 x} \]
[In]
[Out]
Rule 15
Rule 45
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {c x^2} \int \frac {x}{a+b x} \, dx}{x} \\ & = \frac {\sqrt {c x^2} \int \left (\frac {1}{b}-\frac {a}{b (a+b x)}\right ) \, dx}{x} \\ & = \frac {\sqrt {c x^2}}{b}-\frac {a \sqrt {c x^2} \log (a+b x)}{b^2 x} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.76 \[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=\sqrt {c x^2} \left (\frac {1}{b}-\frac {a \log (a+b x)}{b^2 x}\right ) \]
[In]
[Out]
Time = 0.13 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.76
method | result | size |
default | \(-\frac {\sqrt {c \,x^{2}}\, \left (a \ln \left (b x +a \right )-b x \right )}{b^{2} x}\) | \(29\) |
risch | \(\frac {\sqrt {c \,x^{2}}}{b}-\frac {a \ln \left (b x +a \right ) \sqrt {c \,x^{2}}}{b^{2} x}\) | \(35\) |
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.71 \[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=\frac {\sqrt {c x^{2}} {\left (b x - a \log \left (b x + a\right )\right )}}{b^{2} x} \]
[In]
[Out]
\[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=\int \frac {\sqrt {c x^{2}}}{a + b x}\, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 74 vs. \(2 (34) = 68\).
Time = 0.23 (sec) , antiderivative size = 74, normalized size of antiderivative = 1.95 \[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=-\frac {\left (-1\right )^{\frac {2 \, c x}{b}} a \sqrt {c} \log \left (\frac {2 \, c x}{b}\right )}{b^{2}} - \frac {\left (-1\right )^{\frac {2 \, a c x}{b}} a \sqrt {c} \log \left (-\frac {2 \, a c x}{b {\left | b x + a \right |}}\right )}{b^{2}} + \frac {\sqrt {c x^{2}}}{b} \]
[In]
[Out]
none
Time = 0.35 (sec) , antiderivative size = 37, normalized size of antiderivative = 0.97 \[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=\sqrt {c} {\left (\frac {x \mathrm {sgn}\left (x\right )}{b} - \frac {a \log \left ({\left | b x + a \right |}\right ) \mathrm {sgn}\left (x\right )}{b^{2}} + \frac {a \log \left ({\left | a \right |}\right ) \mathrm {sgn}\left (x\right )}{b^{2}}\right )} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c x^2}}{a+b x} \, dx=\int \frac {\sqrt {c\,x^2}}{a+b\,x} \,d x \]
[In]
[Out]